// export const host = "http://10.16.67.76/dev-api"
// export const host = "http://124.220.13.120:84/prod-api"
export const host = "http://120.79.255.33/prod-api"
export const uploadUrl = "http://yongchuangjie.com:1001/wefound/scdl/importData"


// 富文本处理
export const showHtml = (str) => {
  return str
    .replace(str ? /&(?!#?\w+;)/g : /&/g, "&amp;")
    .replace(/&lt;/g, "<")
    .replace(/&gt;/g, ">")
    .replace(/&quot;/g, '"')
    .replace(/&#39;/g, "'")
    .replace(/&amp;nbsp;/g, "\u3000")
    .replace(/\/prod-api/g, 'http://120.79.255.33/prod-api')
    .replace(/<img/g, '<img style="width:500px;height:200px"')
};


